{include file="lib/front_header.html"}
<form action="register/insert" method="post">
  	<div class="form_box">
	  	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="mtb30">
	  		<tbody>
		  		<tr>
		  			<td width="72" class="tar"><label>用户名</label></td>
		  			<td><input name="info[name]" type="text" class="txt"></td>
		  		</tr>
		  		<tr>
		  			<td class="tar"><label>设置密码</label></td>
		  			<td><input name="info[password]" type="password" class="txt"></td>
		  		</tr>
		  		<tr>
		  			<td class="tar"><label>确认密码</label></td>
		  			<td><input name="info[re_password]" type="password" class="txt"></td>
				</tr>
				<tr>
		  			<td width="72" class="tar"><label>邮件</label></td>
		  			<td><input name="info[email]" type="text" class="txt"></td>
		  		</tr>
		  		<tr>
		  			<td class="tar"><label>验证码</label></td>
					<td><input name="info[conf_code]" type="text" class="txt" style="width:120px">
						<img src="login/yzm?s={time()}" height="31px" width="77px" id="yzm"/>
						<a href="" style="text-decoration: underline;" id='hyh'>换一换</a>
					</td>
				</tr>
			
		  		<tr>
					<td colspan="2" class="tac"><input name="" type="submit" value="立即注册" class="btn_1 mtb20"> </td>
				</tr>
		  		<tr>
					<td colspan="2" class="tac">
						<a href="login/index">直接登陆</a>
						<span style="cursor:pointer;" id='xy'>查看协议</span>
					</td>
		  		</tr>
	  		</tbody>
	  	</table>
	</div>
</form>
<script>
	$('#xy').click(function(){
		window.open('register/agreen', 'xy', "toolbar=no,status=no,resizable=yes,width=500,height=600") ;

	});
	

	$('#hyh').click(function(){
	
		$('#yzm').attr('src','login/yzm?s='+Math.random());
		return false;
		
	
	});
	
	$(document).ready(function(){
	$(':input').bind('keyup', function(event){
	   if (event.keyCode=="13"){
	   	$("form").submit();
	   }
	});
	});

</script>　　
{include file="lib/front_footer.html"}
